package cn.stylefeng.guns.modular.business.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel
@TableName("sub_canal_three_classify")
@EqualsAndHashCode(callSuper = true)
@Data
public class CanalThreeClassify extends BaseEntity {

    @ApiModelProperty("三级分类ID")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("三级分类名称")
    @TableField("canal_three_classify_name")
    private String canalThreeClassifyName;
    @ApiModelProperty("三级分类代码")
    @TableField("canal_three_classify_code")
    private String canalThreeClassifyCode;
    @ApiModelProperty("二级分类代码")
    @TableField("canal_second_classify_code")
    private String canalSecondClassifyCode;
    @ApiModelProperty("一级分类代码")
    @TableField("canal_first_classify_code")
    private String canalFirstClassifyCode;
    @ApiModelProperty("备用")
    @TableField("canal_three_classify_type")
    private String canalThreeClassifyType;

    public CanalThreeClassify() {
    }

    public CanalThreeClassify(Long id, String canalThreeClassifyName, String canalThreeClassifyCode, String canalSecondClassifyCode, String canalFirstClassifyCode, String canalThreeClassifyType) {
        this.id = id;
        this.canalThreeClassifyName = canalThreeClassifyName;
        this.canalThreeClassifyCode = canalThreeClassifyCode;
        this.canalSecondClassifyCode = canalSecondClassifyCode;
        this.canalFirstClassifyCode = canalFirstClassifyCode;
        this.canalThreeClassifyType = canalThreeClassifyType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCanalThreeClassifyName() {
        return canalThreeClassifyName;
    }

    public void setCanalThreeClassifyName(String canalThreeClassifyName) {
        this.canalThreeClassifyName = canalThreeClassifyName;
    }

    public String getCanalThreeClassifyCode() {
        return canalThreeClassifyCode;
    }

    public void setCanalThreeClassifyCode(String canalThreeClassifyCode) {
        this.canalThreeClassifyCode = canalThreeClassifyCode;
    }

    public String getCanalThreeClassifyType() {
        return canalThreeClassifyType;
    }

    public void setCanalThreeClassifyType(String canalThreeClassifyType) {
        this.canalThreeClassifyType = canalThreeClassifyType;
    }

    public String getCanalFirstClassifyCode() {
        return canalFirstClassifyCode;
    }

    public void setCanalFirstClassifyCode(String canalFirstClassifyCode) {
        this.canalFirstClassifyCode = canalFirstClassifyCode;
    }

    public String getCanalSecondClassifyCode() {
        return canalSecondClassifyCode;
    }

    public void setCanalSecondClassifyCode(String canalSecondClassifyCode) {
        this.canalSecondClassifyCode = canalSecondClassifyCode;
    }
}
